package com.nintendo.service;

import com.nintendo.dto.EbookDTO;
import com.nintendo.entity.Ebook;
import com.nintendo.vo.EbookCascaderVo;
import com.nintendo.vo.EbookVO;
import com.nintendo.vo.PageInfoVo;

import java.util.List;

public interface EbookService {
    public List<Ebook> findAllEbooks();
    public PageInfoVo findAllEbooksByName(EbookDTO ebookDTO);
    void deleteById(Long id);
    EbookVO findEbookById(Long id);
    void updateEbookById(Ebook ebook);
    void saveEbook(Ebook ebook);
    List<EbookCascaderVo> getEbookCascaderVo();
    public  List<Ebook> findByCategoryId2(Long id);

}
